package com.heima.article.service;

import com.heima.model.behavior.dto.CollectionBehaviorDto;
import com.heima.model.common.dtos.ResponseResult;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

public interface ArticleBehaviorService {
    /**
     * 收藏文章
     * @param collectionBehaviorDto
     * @param request
     * @return
     */
    ResponseResult collectionBehavior(CollectionBehaviorDto collectionBehaviorDto, HttpServletRequest request);
}
